package com.zzyl.serve.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskQuery {
    private String elderName;// 老人姓名
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;    // 结束时间
    private Long nurseId;             // 护理员ID
    private Integer pageNum;          // 页码
    private Integer pageSize;         // 每页显示条数
    private Integer projectId;// 护理项目ID
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;  // 开始时间
    private Integer status;
//    private Integer nurseId;
}